Skip to content

Add building and container recipes#25

Closed
megha-darda wants to merge 1 commit intoSimulation-Software-Engineering:mainfrom
megha-darda:main
Closed

Add building and container recipes#25
megha-darda wants to merge 1 commit intoSimulation-Software-Engineering:mainfrom
megha-darda:main

Conversation

@megha-darda
Copy link
Copy Markdown

Changes done in this PR,

  1. Added Dockerfile
  2. Added CMakeLists.txt
  3. Modified main.cpp


Build and run using,

docker build -t cmake-exercise .
docker run -it cmake-exercise
./build_and_run.sh


Gitlab username: dardama

Copy link
Copy Markdown

@MakisH MakisH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good here and works, thanks!

&& make -j$(nproc) \
&& make install

ENV LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, LD_LIBRARY_PATH at the right-hand side is undefined at this point.

@MakisH MakisH closed this Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants